package com.yikun.springbootinit.model.dto.search;

import com.yikun.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * <h1>搜索接口<h1>
 *
 * @ClassName: SearchRequest
 * @Author: 初久
 * @Date: 2023/4/5 15:10
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class SearchRequest extends PageRequest implements Serializable {

    /**
     * 搜索词
     */
    private String searchText;

    /**
     * 搜索类型
     */
    private String type;


    private static final long serialVersionUID = 1L;
}
